<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>cmd demo</title>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css"
          integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <script type="text/javascript" src="/static/jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="/static/socket.io.min.js"></script>
    <script src="/static/main.js"></script>

</head>
<body style="padding: 20px;">
<form id="emit" method="POST" action='#'>
    <br/>
    <input type="text" name="host_key" id="host_key" placeholder="主机key">
    <input type="text" name="command" id="command" placeholder="命令">
    <input type="submit" value="发送">
    <input type="button" id="ctrlc" value="Ctrl+C">
</form>
<h2>Receive:</h2>
<div id="log" style="height:600px;width:600px;overflow:scroll;background:#EEEEEE;color:#0f003e;"></div>
</body>
</html>